<?php
namespace app\personal\controller;
use library\Controller;
use app\personal\service\PersonService;


/**
 * 基类控制器
 * Class Base
 * @package app\company\controller
 */
class Base extends Controller
{
	public $member;
	
	public function __construct()
    {
    	parent::__construct();
        $result = PersonService::MemberInfo(session('member.id'));
		if(!$result){
			$this->error('数据错误');
		}
		$this->member = $result;
    }
}
